package com.ruoyi.swla2.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * DMA配置对象 dw_basic_dma
 * 
 * @author gdqt
 * @date 2023-06-16
 */
public class BasicDma extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 平台表单自增主键 */
    private Long ID;

    /** 用户归属水司 */
    @Excel(name = "用户归属水司")
    private String tenantId;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ChangeTime;

    /** DMA分区的ID */
    @Excel(name = "DMA分区的ID")
    private String AreaID;

    /** 本区域总入水口-数量 */
    @Excel(name = "本区域总入水口-数量")
    private Long rskAmount;

    /** 本区域总入水口-入口处管网材质 */
    @Excel(name = "本区域总入水口-入口处管网材质")
    private String rskMaking;

    /** 本区域总入水口-总入水口管径 */
    @Excel(name = "本区域总入水口-总入水口管径")
    private String rskSize;

    /** 楼栋数 */
    @Excel(name = "楼栋数")
    private Long Buildings;

    /** 单元数 */
    @Excel(name = "单元数")
    private Long Units;

    /** 二次加压泵房数量/无负压水罐（不宜超过2个） */
    @Excel(name = "二次加压泵房数量/无负压水罐", readConverterExp = "不=宜超过2个")
    private Long AddPressure;

    /** 居民用水户表数 */
    @Excel(name = "居民用水户表数")
    private Long homeuserAmount;

    /** 非居民用水户表数 */
    @Excel(name = "非居民用水户表数")
    private Long nonHomeuserAmount;

    /** 特殊用水户数（如绿化，公共用水口） */
    @Excel(name = "特殊用水户数", readConverterExp = "如=绿化，公共用水口")
    private Long specialUser;

    /** 免费用水户数（如消防） */
    @Excel(name = "免费用水户数", readConverterExp = "如=消防")
    private Long freeUser;

    /** 小区入住率 */
    @Excel(name = "小区入住率")
    private Long occupancyRate;

    /** 供水管道-材质 */
    @Excel(name = "供水管道-材质")
    private String pipeMaking;

    /** 供水管道-平均管龄 */
    @Excel(name = "供水管道-平均管龄")
    private String pipeLife;

    /** 供水管道-主管长度 */
    @Excel(name = "供水管道-主管长度")
    private Long pipeLength;

    /** 中水管道-接口数 */
    @Excel(name = "中水管道-接口数")
    private Long midPipeInterfaces;

    /** 中水管道-入口管径 */
    @Excel(name = "中水管道-入口管径")
    private String midPipeCaliber;

    /** 中水管道-材质 */
    @Excel(name = "中水管道-材质")
    private String midPipeMaking;

    /** 中水管道-平均管龄 */
    @Excel(name = "中水管道-平均管龄")
    private String midPipeLife;

    /** 中水管道-主管长度 */
    @Excel(name = "中水管道-主管长度")
    private Long midPipeLength;

    /** DMA内消防管接口数 */
    @Excel(name = "DMA内消防管接口数")
    private Long firePipeInterfaces;

    /** 消防用水管道-入口管径 */
    @Excel(name = "消防用水管道-入口管径")
    private String firePipeCaliber;

    /** 消防用水管道-主管长度 */
    @Excel(name = "消防用水管道-主管长度")
    private Long firePipeLength;

    /** 消防用水管道-平均管龄 */
    @Excel(name = "消防用水管道-平均管龄")
    private String firePipeLife;

    /** 消防用水管道-材质 */
    @Excel(name = "消防用水管道-材质")
    private String firePipeMaking;

    /** 消防用水管道-消火栓数量 */
    @Excel(name = "消防用水管道-消火栓数量")
    private Long firePipeAmount;

    /** 消防用水管道-总阀状态 */
    @Excel(name = "消防用水管道-总阀状态")
    private String firePipeValvestate;

    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setTenantId(String tenantId) 
    {
        this.tenantId = tenantId;
    }

    public String getTenantId() 
    {
        return tenantId;
    }
    public void setChangeTime(Date ChangeTime) 
    {
        this.ChangeTime = ChangeTime;
    }

    public Date getChangeTime() 
    {
        return ChangeTime;
    }
    public void setAreaID(String AreaID) 
    {
        this.AreaID = AreaID;
    }

    public String getAreaID() 
    {
        return AreaID;
    }
    public void setRskAmount(Long rskAmount) 
    {
        this.rskAmount = rskAmount;
    }

    public Long getRskAmount() 
    {
        return rskAmount;
    }
    public void setRskMaking(String rskMaking) 
    {
        this.rskMaking = rskMaking;
    }

    public String getRskMaking() 
    {
        return rskMaking;
    }
    public void setRskSize(String rskSize) 
    {
        this.rskSize = rskSize;
    }

    public String getRskSize() 
    {
        return rskSize;
    }
    public void setBuildings(Long Buildings) 
    {
        this.Buildings = Buildings;
    }

    public Long getBuildings() 
    {
        return Buildings;
    }
    public void setUnits(Long Units) 
    {
        this.Units = Units;
    }

    public Long getUnits() 
    {
        return Units;
    }
    public void setAddPressure(Long AddPressure) 
    {
        this.AddPressure = AddPressure;
    }

    public Long getAddPressure() 
    {
        return AddPressure;
    }
    public void setHomeuserAmount(Long homeuserAmount) 
    {
        this.homeuserAmount = homeuserAmount;
    }

    public Long getHomeuserAmount() 
    {
        return homeuserAmount;
    }
    public void setNonHomeuserAmount(Long nonHomeuserAmount) 
    {
        this.nonHomeuserAmount = nonHomeuserAmount;
    }

    public Long getNonHomeuserAmount() 
    {
        return nonHomeuserAmount;
    }
    public void setSpecialUser(Long specialUser) 
    {
        this.specialUser = specialUser;
    }

    public Long getSpecialUser() 
    {
        return specialUser;
    }
    public void setFreeUser(Long freeUser) 
    {
        this.freeUser = freeUser;
    }

    public Long getFreeUser() 
    {
        return freeUser;
    }
    public void setOccupancyRate(Long occupancyRate) 
    {
        this.occupancyRate = occupancyRate;
    }

    public Long getOccupancyRate() 
    {
        return occupancyRate;
    }
    public void setPipeMaking(String pipeMaking) 
    {
        this.pipeMaking = pipeMaking;
    }

    public String getPipeMaking() 
    {
        return pipeMaking;
    }
    public void setPipeLife(String pipeLife) 
    {
        this.pipeLife = pipeLife;
    }

    public String getPipeLife() 
    {
        return pipeLife;
    }
    public void setPipeLength(Long pipeLength) 
    {
        this.pipeLength = pipeLength;
    }

    public Long getPipeLength() 
    {
        return pipeLength;
    }
    public void setMidPipeInterfaces(Long midPipeInterfaces) 
    {
        this.midPipeInterfaces = midPipeInterfaces;
    }

    public Long getMidPipeInterfaces() 
    {
        return midPipeInterfaces;
    }
    public void setMidPipeCaliber(String midPipeCaliber) 
    {
        this.midPipeCaliber = midPipeCaliber;
    }

    public String getMidPipeCaliber() 
    {
        return midPipeCaliber;
    }
    public void setMidPipeMaking(String midPipeMaking) 
    {
        this.midPipeMaking = midPipeMaking;
    }

    public String getMidPipeMaking() 
    {
        return midPipeMaking;
    }
    public void setMidPipeLife(String midPipeLife) 
    {
        this.midPipeLife = midPipeLife;
    }

    public String getMidPipeLife() 
    {
        return midPipeLife;
    }
    public void setMidPipeLength(Long midPipeLength) 
    {
        this.midPipeLength = midPipeLength;
    }

    public Long getMidPipeLength() 
    {
        return midPipeLength;
    }
    public void setFirePipeInterfaces(Long firePipeInterfaces) 
    {
        this.firePipeInterfaces = firePipeInterfaces;
    }

    public Long getFirePipeInterfaces() 
    {
        return firePipeInterfaces;
    }
    public void setFirePipeCaliber(String firePipeCaliber) 
    {
        this.firePipeCaliber = firePipeCaliber;
    }

    public String getFirePipeCaliber() 
    {
        return firePipeCaliber;
    }
    public void setFirePipeLength(Long firePipeLength) 
    {
        this.firePipeLength = firePipeLength;
    }

    public Long getFirePipeLength() 
    {
        return firePipeLength;
    }
    public void setFirePipeLife(String firePipeLife) 
    {
        this.firePipeLife = firePipeLife;
    }

    public String getFirePipeLife() 
    {
        return firePipeLife;
    }
    public void setFirePipeMaking(String firePipeMaking) 
    {
        this.firePipeMaking = firePipeMaking;
    }

    public String getFirePipeMaking() 
    {
        return firePipeMaking;
    }
    public void setFirePipeAmount(Long firePipeAmount) 
    {
        this.firePipeAmount = firePipeAmount;
    }

    public Long getFirePipeAmount() 
    {
        return firePipeAmount;
    }
    public void setFirePipeValvestate(String firePipeValvestate) 
    {
        this.firePipeValvestate = firePipeValvestate;
    }

    public String getFirePipeValvestate() 
    {
        return firePipeValvestate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("tenantId", getTenantId())
            .append("ChangeTime", getChangeTime())
            .append("AreaID", getAreaID())
            .append("rskAmount", getRskAmount())
            .append("rskMaking", getRskMaking())
            .append("rskSize", getRskSize())
            .append("Buildings", getBuildings())
            .append("Units", getUnits())
            .append("AddPressure", getAddPressure())
            .append("homeuserAmount", getHomeuserAmount())
            .append("nonHomeuserAmount", getNonHomeuserAmount())
            .append("specialUser", getSpecialUser())
            .append("freeUser", getFreeUser())
            .append("occupancyRate", getOccupancyRate())
            .append("pipeMaking", getPipeMaking())
            .append("pipeLife", getPipeLife())
            .append("pipeLength", getPipeLength())
            .append("midPipeInterfaces", getMidPipeInterfaces())
            .append("midPipeCaliber", getMidPipeCaliber())
            .append("midPipeMaking", getMidPipeMaking())
            .append("midPipeLife", getMidPipeLife())
            .append("midPipeLength", getMidPipeLength())
            .append("firePipeInterfaces", getFirePipeInterfaces())
            .append("firePipeCaliber", getFirePipeCaliber())
            .append("firePipeLength", getFirePipeLength())
            .append("firePipeLife", getFirePipeLife())
            .append("firePipeMaking", getFirePipeMaking())
            .append("firePipeAmount", getFirePipeAmount())
            .append("firePipeValvestate", getFirePipeValvestate())
            .toString();
    }
}
